import { defHttp } from '/@/utils/http/axios';
import {DemoParams, DemoListGetResultModel} from './model/tableModel';

enum Api{
  DEMO_LIST = '/demo/getFileAll'
}

export const demoListApi = (params:DemoParams)=>
  defHttp.get<DemoListGetResultModel>({
    url:Api.DEMO_LIST,
    params,
    headers:{
      ignoreCancelToken:true,
    },
  });
